
using System;
using System.IO;
using System.Xml;

namespace Tomboy
{
	public interface TomboyDataProvider
	{
		bool DirectoryExist(string directory);	
		DirectoryInfo CreateDirectory (string directory);
		bool FileExists (string filePath);
		bool FileDelete (string filePath);
		void FileMove (string fileSource, string fileDest);
		string [] DirectoryGetFiles (string notes_dir, string pattern);

		XmlTextWriter getXmlTextWriter (string tmp_file, System.Text.Encoding encoding);
		XmlTextReader getXmlTextReader (string tmp_file, System.Text.Encoding encoding);
		void textWriterClose (XmlTextWriter writer);
		void xmlDocumentSave(XmlDocument document,String filename);
		void XmlDocumentLoad(XmlDocument document,String filename);
	}
}
